#include <stdio.h>
#include <string.h>
struct Xxx
{
    char aa[30];
    int bb[2];
    double cc;
};
struct Yyy
{
    char dd[50];
    struct Xxx mm;
    char *ee;
    char *ff[3];
};
void main (void)
{
    struct Xxx qq = {{"Sample"},{0,1},{5.4}};
    struct Yyy nn = {{"String constant"},{{"Text"},{7,8},{12.3}},
        {"Address"},{"a","b","c"}
    };
    struct Yyy pp, rr;
    strcpy (pp.dd,"Structure ");
    strcpy (pp.mm.aa,"in structure");
    pp.mm.bb[0] = 10;
    pp.mm.bb[1] = 12;
    pp.mm.cc = 57.8;
    pp.ee = "Pointer and ";
    pp.ff[0] = "array ";
    pp.ff[1] = "of ";
    pp.ff[2] = "pointers. ";

    rr=pp;

    printf ("%s%s %d %d %lf\n%s%s%s%s\n",rr.dd,rr.mm.aa,rr.mm.bb[0],
            rr.mm.bb[1],rr.mm.cc,rr.ee,rr.ff[0],rr.ff[1],rr.ff[2]);
}







